package com.cn.hnust.service;

import java.util.List;

import com.cn.hnust.pojo.Column;
import com.cn.hnust.pojo.Message;
import com.cn.hnust.util.Page;

public interface IColumnService {
public Column getUserById(int column_id) throws Exception;
	
	public List<Column> getUsers();
	
	public Column getUser(int column_id);

	public int insert(Column column); 
	
	public int  delColumn(int column_id);
	
	public List<Column> selectPersons(String column_name,Page page);
	
	public List<Column> queryAllRecord(Page page);
	  
	public int getCount();

    public int updateByPrimaryKey(Column column);
    
    public int getCountmh(String column_name);
}
